#
# Be sure to run `pod lib lint MPTConfig.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = "MPTConfig"
  s.version          = "0.0.3"
  s.summary          = "A short description of MPTConfig."
  s.description      = <<-DESC
                       An optional longer description of MPTConfig

                       * Markdown format.
                       * Don't worry about the indent, we strip it!
                       DESC
  s.homepage         = "https://github.com/<GITHUB_USERNAME>/MPTConfig"
  # s.screenshots     = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
  s.license          = 'MIT'
  s.author           = { "Heyun" => "heyun@yixia.com" }
  s.source           = { :git => "http://git.yixia.com/miaopai/mptconfig.git" }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.platform     = :ios, '6.0'
  s.requires_arc = true

  s.source_files = 'Pod/Classes'
  s.resources = 'Pod/Assets/*.{xib,storyboard,png,xcassets,plist}'

  s.subspec 'Model' do |ss|
    ss.source_files = 'Pod/Classes/Model/*.{h,m}'
  end

  s.subspec 'MPTADManager' do |ss|
    ss.source_files = 'Pod/Classes/MPTADManager/*.{h,m}'
  end

  s.subspec 'MPTPushManager' do |ss|
    ss.source_files = 'Pod/Classes/MPTPushManager/*.{h,m}'
  end

  s.subspec 'MPTRefreshView' do |ss|
    ss.source_files = 'Pod/Classes/MPTRefreshView/*.{h,m}'
  end

  s.subspec 'MPTScrollContainer' do |ss|
    ss.source_files = 'Pod/Classes/MPTScrollContainer/*.{h,m}'
  end

  s.subspec 'UIViewController' do |ss|
    ss.source_files = 'Pod/Classes/UIViewController/*.{h,m}'
  end

  s.subspec 'MPTWaterFallView' do |ss|
    ss.source_files = 'Pod/Classes/MPTWaterFallView/*.{h,m}'
  end

  s.subspec 'MPTDataSource' do |ss|
    ss.source_files = 'Pod/Classes/MPTDataSource/*.{h,m}'
  end

  s.subspec 'MPTSwipeableView' do |ss|
    ss.source_files = 'Pod/Classes/MPTSwipeableView/*.{h,m}'
  end
  
  s.subspec 'Config' do |ss|
    ss.source_files = 'Pod/Classes/Config/Live/*.{h,m}'
  end

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
  # s.dependency 'PLPlayerKit', '~> 1.2.17'
  s.dependency  'MJRefresh'
end
